" Notes {
"
"  Vim configuration file
"
" }

" Basic {
"
   set nocompatible " no compatible with vi
   set background=dark
"
" }

" General {
   filetype plugin on " Automatically detect file types
   set nofoldenable
" }

" Vim UI {
   set number
   syntax on
   colorscheme desert
" }

" Formatting  {
"
	set expandtab
	set textwidth=79
	set tabstop=8
	set softtabstop=4
	set shiftwidth=4
	set autoindent
"
" }
 
" Mappings  {
" 
   " Save file with Ctrl+S
   nmap <C-s> :w<cr>
   " Scroll down with space
   map <space> <C-f>
   " Bubble down line
   nmap <C-Up> ddkP
   " Bubble up line
   nmap <C-Down> ddp
   " Bubble up multiple lines
   vmap <S-Up> xkP`[V`]
   " Bubble down multiple lines
   vmap <S-Down> xp`[V`]
   " Select word as block
   nmap ,w viw
   " Select between parenthesis as block
   nmap ,b vib
"
" }

" Variables {
"
    " Taglist plugin variables
    let Tlist_Ctags_Cmd='D:\ctags\ctags.exe'	
    let Tlist_Process_File_Always=1
    let Tlist_Show_One_File=1
    let Tlist_Show_Menu=1
" }

" Sessions {
    set sessionoptions=blank,buffers,curdir,folds,globals,help,localoptions,options,resize,tabpages,winsize,winpos
" } 